package com.mindainfo.groundwave.common.api.member.service;

import com.mindainfo.groundwave.common.api.member.param.MemberChangePasswordParam;
import com.mindainfo.groundwave.common.api.member.param.MemberCreateMemberParam;
import com.mindainfo.groundwave.common.api.member.param.MemberQueryListParam;
import com.mindainfo.groundwave.common.api.member.param.MemberSaveParam;
import com.mindainfo.groundwave.common.api.member.vo.MemberQueryListVo;
import com.mindainfo.groundwave.common.api.member.vo.MemberVo;
import com.mindainfo.groundwave.common.bean.CommonResult;
import com.mindainfo.groundwave.common.bean.DataGrid;
import com.mindainfo.groundwave.common.bean.TableData;

import java.util.List;
import java.util.Map;

/**
 * Created by MD-01 on 2017/5/17.
 */
public interface IMemberService {

    /**
     * 页面分页,条件查询用户列表
     */
    CommonResult<TableData<MemberQueryListVo>> queryList(MemberQueryListParam param);


    /**
     * 修改用户
     */
    CommonResult<Void> save(MemberSaveParam param);

    /**
     * 修改密码
     */
    CommonResult<Void> changePassword(MemberChangePasswordParam param);

    /**
     * 创建用户
     */
    CommonResult<Void> createMember(MemberCreateMemberParam param);

}
